package com.fs.service;


import com.fs.dto.EmployeeDTO;
import com.fs.dto.EmployeeLoginDTO;
import com.fs.dto.EmployeePageQueryDTO;
import com.fs.dto.EmployeeRegisterDTO;
import com.fs.entity.Employee;
import com.fs.result.PageResult;

import java.util.List;

public interface EmployeeService {


    /*注册新员工*/
    String save(EmployeeRegisterDTO employeeRegisterDTO);

    /*员工登录*/
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    /*根据id查询员工信息*/
    Employee getById(Long id);

    /*更新员工信息*/
    String update(EmployeeDTO employeeDTO);

    /*删除员工*/
    String deleteByIds(List<Long> ids);

    /*分页查询员工*/
    PageResult pageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    /*启用禁用员工证号*/
    void startOrStop(Integer status, Long id);
}
